package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 会议对象 conference
 * 
 * @author ruoyi
 * @date 2023-12-20
 */
public class Conference extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID;主键ID */
    private Long conferenceId;

    /** 会议名称;会议名称 */
    @Excel(name = "会议名称;会议名称")
    private String conferenceName;

    /** 会议开始时间;会议开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "会议开始时间;会议开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date beginTime;

    /** 会议结束时间;会议结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "会议结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date endTime;

    /** 会议状态;0：未开始；1：进行中；2：已结束 */
    @Excel(name = "会议状态;0：未开始；1：进行中；2：已结束")
    private String conferenceState;

    /** 会议密码;会议密码 */
    @Excel(name = "会议密码;会议密码")
    private String conferencePassword;

    /** 创建人;创建人 */
    @Excel(name = "创建人;创建人")
    private String createdBy;

    /** 创建时间;创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "创建时间;创建时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss                                        ")
    private Date createdTime;

    /** 更新人;更新人 */
    @Excel(name = "更新人;更新人")
    private String updatedBy;

    /** 更新时间;更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "更新时间;更新时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date updatedTime;

    /** 删除标识;1：未删除；0：已删除 */
    @Excel(name = "删除标识;1：未删除；0：已删除")
    private String deletionFlag;

    public void setConferenceId(Long conferenceId) 
    {
        this.conferenceId = conferenceId;
    }

    public Long getConferenceId() 
    {
        return conferenceId;
    }
    public void setConferenceName(String conferenceName) 
    {
        this.conferenceName = conferenceName;
    }

    public String getConferenceName() 
    {
        return conferenceName;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setConferenceState(String conferenceState) 
    {
        this.conferenceState = conferenceState;
    }

    public String getConferenceState() 
    {
        return conferenceState;
    }
    public void setConferencePassword(String conferencePassword) 
    {
        this.conferencePassword = conferencePassword;
    }

    public String getConferencePassword() 
    {
        return conferencePassword;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setDeletionFlag(String deletionFlag) 
    {
        this.deletionFlag = deletionFlag;
    }

    public String getDeletionFlag() 
    {
        return deletionFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("conferenceId", getConferenceId())
            .append("conferenceName", getConferenceName())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("conferenceState", getConferenceState())
            .append("conferencePassword", getConferencePassword())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("deletionFlag", getDeletionFlag())
            .toString();
    }
}
